package com.example.bbs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.Date;

/**
 * @author jiajiazi
 * @version 1.0
 * @date 2021/7/5 3:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Comment {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer artid;

    private Integer  commentatorid;

    private Integer comment1id;

    private Integer comment2id;

    private String content;

    private Date creatTime;

    private Integer replynum;

    private Integer level;

    private Integer support;

}
